package com.ccb.jyzx.expand.tiantouonline.service.impl;

import com.ccb.jyzx.expand.tiantouonline.bean.EftLog;
import com.ccb.jyzx.expand.tiantouonline.dao.EftLogDao;
import com.ccb.jyzx.expand.tiantouonline.service.EftLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @ProjectName: extend
 * @Author: jianghaolin
 * @Version: 1.0
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class EftLogServiceImpl implements EftLogService {

    @Autowired
    private EftLogDao dao;

    @Override
    public List<EftLog> findAll() {
        return dao.findAll();
    }

    @Override
    public void save(EftLog pojo) {
        dao.save(pojo);
    }
}
